﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using System.Data;

public partial class WebForm_WorkGroup : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            gv.DataBind();
        }
    }

    protected void btnAdd_Click(object sender, EventArgs e)
    {
    }

    protected void gv_ItemCommand(object sender, GridViewCommandEventArgs e)
    {
    }

    DataTable _BreakData = null;

    protected DataTable BreakData
    {
        get
        {
            if (_BreakData == null)
            {
                var db = new DB();

                _BreakData = db.Execute("SELECT * FROM WorkBreak ");
            }

            return _BreakData;
        }
    }
}